#include "PulseBreach.h"

PulseBreach::PulseBreach() {
	// Use requires() here to declare subsystem dependencies
	// eg. requires(chassis);
}

// Called just before this Command runs the first time
void PulseBreach::Initialize() {
	
}

// Called repeatedly when this Command is scheduled to run
void PulseBreach::Execute() {
	if (shooter->isOut) {
		return;
	}
	Breach::Pulse(breach);
}

// Make this return true when this Command no longer needs to run execute()
bool PulseBreach::IsFinished() {
	return true;
}

// Called once after isFinished returns true
void PulseBreach::End() {
	
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void PulseBreach::Interrupted() {
}
